#include "Common.h"

#ifndef FILEBUFFER
#define FILEBUFFER

class FileBuffer
{
public:
	FileBuffer();
	int buffer_new(int size);
	void buffer_free();
	void* buffer_get();
	size_t buffer_get_size();

private:
	void* m_buffer;
	size_t m_buffer_size;
	bool m_is_malloc;
};

#endif
